.class Lcom/waiqin365/lightcrm/linkman/h;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightcrm/linkman/h;->b:Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;

    iput-object p2, p0, Lcom/waiqin365/lightcrm/linkman/h;->a:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.CALL"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "tel:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/h;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    iget-object v1, p0, Lcom/waiqin365/lightcrm/linkman/h;->b:Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/h;->b:Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->overridePendingTransition(II)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0064
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
